import 'package:freezed_annotation/freezed_annotation.dart';

part 'follow_user.g.dart';
part 'follow_user.freezed.dart';

@freezed
class FollowUser with _$FollowUser {
  const factory FollowUser({
    required String avatar,
    required String nickname,
  }) = _FollowUser;

  factory FollowUser.fromJson(Map<String, dynamic> json) =>
      _$FollowUserFromJson(json);
}
